package com.sfzd5.mistakesbook.db;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "student")
public class Student {

    @DatabaseField(generatedId = true, unique = true)
    public int id = -1;

    @DatabaseField()
    public String name;

    @DatabaseField()
    public Integer grade;

    @Override
    public String toString() {
        return name;
    }
}
